package com.tshopping.bean;

import lombok.Data;

import java.io.Serializable;

/**
 * @name: User
 * @description: 用户类
 * @author: Jackeys
 * @date: 2020-12-10 16:23
 */
@Data
public class User implements Serializable {
    private int id;/*用户自增id*/
    private String name;/*用户姓名*/
    private String password;/*用户密码*/
    private String sex;/*用户性别*/
    private String phone;/*用户电话号码*/
    private String email;/*用户邮箱*/
    private String headPortrait;/*用户头像*/
    private double account;/*用户余额*/
    private int role;/*用户角色（0卖家，1卖家，2管理员）*/
    private String screenName;/*用户网名*/
    private int isValid;/*是否失效*/

    public User(){}

}
